﻿<%@ Page Title="修改申请" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="AdminAudit.aspx.cs" Inherits="admin_AdminAuditing" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <div class="am-cf am-padding">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">修改申请</strong> / <small>列表</small></div>
    </div>
    <div class="am-g" style="margin-bottom: 16px;">

        <div class="am-u-sm-12 am-u-md-3">
            <div class="am-u-sm-8 am-u-md-10">
                <asp:DropDownList data-am-selected="{btnSize: 'sm'}" Style="display: none;" ID="List_ExamAllName" runat="server">                    
                </asp:DropDownList>
            </div>
        </div>

        <div class="am-u-sm-12 am-u-md-3" >
            <div class="am-form-group am-form-group-sm">
                <asp:TextBox runat="server" ID="txtStudentId" CssClass="am-form-field am-input-sm" placeholder="身份证号 / 学号" Width="180px"></asp:TextBox>
            </div>
        </div>
        <div class="am-u-sm-12 am-u-md-2" style="float:left;">
            <div class="am-form-group">
                <asp:Button ID="btnSearch" runat="server" CssClass="am-btn am-btn-sm" Style="background-color: #0094ff; color: #fff" Text="查  找" OnClick="btnSearch_Click" />
            </div>
        </div>
    </div>
    <hr />
    <div class="am-g">
        <div class="am-u-sm-12">
            <asp:GridView ID="gv" runat="server" DataKeyNames="ApplyID" PageSize="12" AllowPaging="True" AutoGenerateColumns="false" CssClass="am-table am-table-striped am-table-hover table-main" GridLines="None"
                OnPageIndexChanging="gv_PageIndexChanging" OnRowCommand="gv_RowCommand">
                <Columns>
                    <asp:TemplateField HeaderText="序号">
                        <HeaderStyle Width="60px"></HeaderStyle>
                        <ItemTemplate>
                            <%# Container.DataItemIndex + 1%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="StudName" HeaderText="姓名" ItemStyle-Width="100" />
                    <asp:BoundField DataField="StudID" HeaderText="学号" ItemStyle-Width="100" />
                    <asp:BoundField DataField="OldRankName" HeaderText="报名级别" ItemStyle-Width="150" />
                    <asp:BoundField DataField="NewRankName" HeaderText="更改级别" ItemStyle-Width="150" />
                    <asp:BoundField DataField="AskReason" HeaderText="申请原因" ItemStyle-Width="300" />
                    <asp:TemplateField HeaderText="操作" ItemStyle-Width="240px">
                    <ItemTemplate>
                        <div class="am-btn-toolbar">
                            <div class="am-btn-group am-btn-group-xs">
                                <asp:LinkButton ID="btnAccept" runat="server" CssClass="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only" CommandName="Accept"><span class="am-icon-trash-o"></span>同意</asp:LinkButton>
                                <asp:LinkButton ID="btnDeny" runat="server" CssClass="am-btn am-btn-default am-btn-xs am-text-danger am-hide-sm-only" CommandName="Deny"><span class="am-icon-trash-o"></span>拒绝</asp:LinkButton>
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:TemplateField>
                </Columns>
                <PagerSettings 
               
                    Mode="NumericFirstLast"
                    FirstPageText="首页"
                    LastPageText="末页"
                    PageButtonCount="7"
                    Position="Bottom" />
                <PagerStyle
                     BorderColor="#66FF66" Font-Names="微软雅黑" Font-Size="12px" HorizontalAlign="Center"
                        CssClass="pageIndex" />
            </asp:GridView>

            <hr />
            <p>注：.....</p>
        </div>
    </div>
</asp:Content>

